{extend name="default/template/base_index" /}

{block name="area_header"}

{/block}

{block name="area_body"}
{include file="default/Widget/topbar" /}
<div class="admin-main container-fluid">
    {include file="default/Widget/left" /}
    <div class="admin-main-content">
        {include file="default/Widget/breadcrumb" /}
        <div style="width:100%;">
            <h2>在线设备数: {$true_total} </h2>
            {eq name="show_btn" value="1"}
            <div>
                <a href="{:url('SunsunDevice/force_offline')}" class="btn btn-small btn-primary">清除所有TCP_CLIENT_ID</a>
            </div>
                {/eq}
            <ul class="list-group">
                {volist name="list" id="vo"}
                <li class="list-group-item">
                    <!--<span class="badge">TCP:{$vo.count}</span>-->
                    <span class="badge">{$vo.true_count}</span>
                    {$vo.name}
                </li>
                {/volist}
            </ul>
        </div>
    </div>
</div>
{/block}

{block name="area_footer"}

{/block}